<?php
class Accountsettings_Data_Getaccountdata implements Accountsettings_Data_Mainable{
    
    private $core_controller_selectdata;
    
    public function __construct() {
        $this->core_controller_selectdata = new Core_Controller_Selectdata;
    }


    public function main(array $variables = null) {
        //var_dump($variables);
        //echo $variables['get']['name'];
        //die();
        $variables['query'] = "SELECT account_settings.username, account_settings.email, account_settings.status_name, account_settings.access_level FROM account_settings WHERE account_settings.username = '".$variables['get']['name']."';";
        //echo $variables['query'];
        //die();
        return $this->core_controller_selectdata->main($variables);
    }

}
